package com.jwsoft.manager.common.vo.eduFormEnrollBase;

import com.bifang.assistant.common.vo.BaseVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jwsoft.manager.common.vo.eduFormEnrollParams.EduFormEnrollParamsVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * 教育报名表单表VO
 *
 * @author zjl
 * @since 2024-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class EduFormEnrollBaseVO extends BaseVO {

    @Schema(name = "formId", description = "表单id")
    private String formId;

    @Schema(name = "formName", description = "表单名称")
    private String formName;

    @Schema(name = "formRefId", description = "表单关联表id")
    private String formRefId;

    @Schema(name = "formRefName", description = "表单关联表名称")
    private String formRefName;

    @Schema(name = "year", description = "年份")
    private Integer year;

    @Schema(name = "startTime", description = "有效开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @Schema(name = "endTime", description = "有效结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @Schema(name = "formType", description = "表单类型(大类)")
    private String formType;

    @Schema(name = "formClass", description = "表单小类")
    private String formClass;

    @Schema(name = "configName", description = "招生类别")
    private String configName;

    @Schema(name = "orderNo", description = "排序字段")
    private Integer orderNo;

    @Schema(name = "configType", description = "配置类别(招生计划)")
    private String configType;

    @Schema(name = "configTypeName", description = "类别名称(招生计划)")
    private String configTypeName;

    @Schema(name = "status", description = "状态")
    private String status;

    @Schema(name = "validStatus", description = "有效状态")
    private String validStatus;

    @Schema(name = "createName", description = "创建人")
    private String createName;

    @Schema(name = "createTime", description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Schema(name = "areaCode", description = "行政区划")
    private String areaCode;

    @Schema(name = "paramsList", title = "表单参数")
    List<EduFormEnrollParamsVO> paramsList;

    @Schema(title = "")
    private String parentId;

    @Schema(name = "schoolCategory", description = "所属学段")
    private String schoolCategory;

    @Schema(name = "schoolNature", description = "学校性质0公办，1民办")
    private String schoolNature;
}
